package commRedisService

var (
	IRedisManager      *RedisManager
	IRedisAgileManager *RedisAgileServiceManager
)

func init() {
	IRedisManager = &RedisManager{}
	IRedisManager.redisMode.consumer = make(map[string]interface{})
	IRedisManager.redisMode.producer = make(map[string]interface{})
	IRedisManager.redisMode.reader = make(map[string]interface{})
	IRedisManager.redisMode.writer = make(map[string]interface{})

	IRedisManager.redisService.consumer = make(map[string]*RedisService)
	IRedisManager.redisService.producer = make(map[string]*RedisService)
	IRedisManager.redisService.reader = make(map[string]*RedisOperator)
	IRedisManager.redisService.writer = make(map[string]*RedisOperator)

	IRedisAgileManager = &RedisAgileServiceManager{}
	IRedisAgileManager.services = make(map[string]*RedisAgileService)
}
